package com.xuecheng.user.exception;

import com.xuecheng.base.exception.XCPlusBaseException;

/**
 * @author 勾新杰
 * @version 1.0
 * @description: 验证码不正确异常
 * @date 2025/2/24 22:48
 */
public class AuthCheckCodeNotCorrectException extends XCPlusBaseException {

    AuthCheckCodeNotCorrectException(String message){
        super(message);
    }

    public static void cast(){
        throw new AuthCheckCodeNotCorrectException(AuthError.AUTH_CHECK_CODE_NOT_CORRECT.getErrMsg());
    }
}
